#ifndef TIMEENTITY_H
#define TIMEENTITY_H

#include <QString>
/**
 * 倒计时实体类
 */
class TimeEntity{

public:
    /**倒计标题、备注*/
    QString title;
    /**时*/
    int hour;
    /**分*/
    int minute;
    /**秒*/
    int second;
    /**刷新时间*/
    int refreshTime;

    void toString(){
        printf("%s %d:%d:%d   --%d--\n",title.toUtf8().data(),hour,minute,second,refreshTime);
    }
};
#endif // TIMEENTITY_H
